//Figure 1 of Main Text and Table B3 in the Appendix//
ttest likability if treatment<3 & agreement==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0, by(treatment)
ttest likability if treatment>1 & agreement==0, by(treatment)

ttest repswell if treatment<3 & agreement==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0, by(treatment)
ttest repswell if treatment>1 & agreement==0, by(treatment)

ttest openminded if treatment<3 & agreement==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0, by(treatment)
ttest openminded if treatment>1 & agreement==0, by(treatment)

ttest integrity if treatment<3 & agreement==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0, by(treatment)
ttest integrity if treatment>1 & agreement==0, by(treatment)

ttest likability if treatment<3 & agreement==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1, by(treatment)
ttest likability if treatment>1 & agreement==1, by(treatment)

ttest repswell if treatment<3 & agreement==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1, by(treatment)
ttest repswell if treatment>1 & agreement==1, by(treatment)

ttest openminded if treatment<3 & agreement==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1, by(treatment)
ttest openminded if treatment>1 & agreement==1, by(treatment)

ttest integrity if treatment<3 & agreement==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1, by(treatment)
ttest integrity if treatment>1 & agreement==1, by(treatment)

//Analyses for Figures 2&3 in Main Text and Table B4 in the Appendix//
ttest likability if treatment<3 & agreement==0 & domain==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0 & domain==1, by(treatment)
ttest likability if treatment>1 & agreement==0 & domain==1, by(treatment)

ttest repswell if treatment<3 & agreement==0 & domain==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0 & domain==1, by(treatment)
ttest repswell if treatment>1 & agreement==0 & domain==1, by(treatment)

ttest openminded if treatment<3 & agreement==0 & domain==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0 & domain==1, by(treatment)
ttest openminded if treatment>1 & agreement==0 & domain==1, by(treatment)

ttest integrity if treatment<3 & agreement==0 & domain==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0 & domain==1, by(treatment)
ttest integrity if treatment>1 & agreement==0 & domain==1, by(treatment)

ttest likability if treatment<3 & agreement==1 & domain==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1 & domain==1, by(treatment)
ttest likability if treatment>1 & agreement==1 & domain==1, by(treatment)

ttest repswell if treatment<3 & agreement==1 & domain==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1 & domain==1, by(treatment)
ttest repswell if treatment>1 & agreement==1 & domain==1, by(treatment)

ttest openminded if treatment<3 & agreement==1 & domain==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1 & domain==1, by(treatment)
ttest openminded if treatment>1 & agreement==1 & domain==1, by(treatment)

ttest integrity if treatment<3 & agreement==1 & domain==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1 & domain==1, by(treatment)
ttest integrity if treatment>1 & agreement==1 & domain==1, by(treatment)

ttest likability if treatment<3 & agreement==0 & domain==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0 & domain==0, by(treatment)
ttest likability if treatment>1 & agreement==0 & domain==0, by(treatment)

ttest repswell if treatment<3 & agreement==0 & domain==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0 & domain==0, by(treatment)
ttest repswell if treatment>1 & agreement==0 & domain==0, by(treatment)

ttest openminded if treatment<3 & agreement==0 & domain==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0 & domain==0, by(treatment)
ttest openminded if treatment>1 & agreement==0 & domain==0, by(treatment)

ttest integrity if treatment<3 & agreement==0 & domain==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0 & domain==0, by(treatment)
ttest integrity if treatment>1 & agreement==0 & domain==0, by(treatment)

ttest likability if treatment<3 & agreement==1 & domain==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1 & domain==0, by(treatment)
ttest likability if treatment>1 & agreement==1 & domain==0, by(treatment)

ttest repswell if treatment<3 & agreement==1 & domain==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1 & domain==0, by(treatment)
ttest repswell if treatment>1 & agreement==1 & domain==0, by(treatment)

ttest openminded if treatment<3 & agreement==1 & domain==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1 & domain==0, by(treatment)
ttest openminded if treatment>1 & agreement==1 & domain==0, by(treatment)

ttest integrity if treatment<3 & agreement==1 & domain==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1 & domain==0, by(treatment)
ttest integrity if treatment>1 & agreement==1 & domain==0, by(treatment)

//Analyses in Table C1 of the Appendix//
ttest likability if treatment<3 & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest likability if treatment>1 & agreement==0 & domain==1 & demcand==1, by(treatment)

ttest repswell if treatment<3 & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest repswell if treatment>1 & agreement==0 & domain==1 & demcand==1, by(treatment)

ttest openminded if treatment<3 & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest openminded if treatment>1 & agreement==0 & domain==1 & demcand==1, by(treatment)

ttest integrity if treatment<3 & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==1, by(treatment)
ttest integrity if treatment>1 & agreement==0 & domain==1 & demcand==1, by(treatment)

ttest likability if treatment<3 & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest likability if treatment>1 & agreement==0 & domain==0 & demcand==1, by(treatment)

ttest repswell if treatment<3 & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest repswell if treatment>1 & agreement==0 & domain==0 & demcand==1, by(treatment)

ttest openminded if treatment<3 & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest openminded if treatment>1 & agreement==0 & domain==0 & demcand==1, by(treatment)

ttest integrity if treatment<3 & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==1, by(treatment)
ttest integrity if treatment>1 & agreement==0 & domain==0 & demcand==1, by(treatment)

ttest likability if treatment<3 & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest likability if treatment>1 & agreement==0 & domain==1 & demcand==0, by(treatment)

ttest repswell if treatment<3 & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest repswell if treatment>1 & agreement==0 & domain==1 & demcand==0, by(treatment)

ttest openminded if treatment<3 & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest openminded if treatment>1 & agreement==0 & domain==1 & demcand==0, by(treatment)

ttest integrity if treatment<3 & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0 & domain==1 & demcand==0, by(treatment)
ttest integrity if treatment>1 & agreement==0 & domain==1 & demcand==0, by(treatment)

ttest likability if treatment<3 & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest likability if treatment>1 & agreement==0 & domain==0 & demcand==0, by(treatment)

ttest repswell if treatment<3 & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest repswell if treatment>1 & agreement==0 & domain==0 & demcand==0, by(treatment)

ttest openminded if treatment<3 & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest openminded if treatment>1 & agreement==0 & domain==0 & demcand==0, by(treatment)

ttest integrity if treatment<3 & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==0 & domain==0 & demcand==0, by(treatment)
ttest integrity if treatment>1 & agreement==0 & domain==0 & demcand==0, by(treatment)

//Analyses in Table C2 of the Appendix//
ttest likability if treatment<3 & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest likability if treatment>1 & agreement==1 & domain==1 & demcand==1, by(treatment)

ttest repswell if treatment<3 & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest repswell if treatment>1 & agreement==1 & domain==1 & demcand==1, by(treatment)

ttest openminded if treatment<3 & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest openminded if treatment>1 & agreement==1 & domain==1 & demcand==1, by(treatment)

ttest integrity if treatment<3 & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==1, by(treatment)
ttest integrity if treatment>1 & agreement==1 & domain==1 & demcand==1, by(treatment)

ttest likability if treatment<3 & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest likability if treatment>1 & agreement==1 & domain==0 & demcand==1, by(treatment)

ttest repswell if treatment<3 & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest repswell if treatment>1 & agreement==1 & domain==0 & demcand==1, by(treatment)

ttest openminded if treatment<3 & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest openminded if treatment>1 & agreement==1 & domain==0 & demcand==1, by(treatment)

ttest integrity if treatment<3 & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==1, by(treatment)
ttest integrity if treatment>1 & agreement==1 & domain==0 & demcand==1, by(treatment)

ttest likability if treatment<3 & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest likability if treatment>1 & agreement==1 & domain==1 & demcand==0, by(treatment)

ttest repswell if treatment<3 & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest repswell if treatment>1 & agreement==1 & domain==1 & demcand==0, by(treatment)

ttest openminded if treatment<3 & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest openminded if treatment>1 & agreement==1 & domain==1 & demcand==0, by(treatment)

ttest integrity if treatment<3 & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1 & domain==1 & demcand==0, by(treatment)
ttest integrity if treatment>1 & agreement==1 & domain==1 & demcand==0, by(treatment)

ttest likability if treatment<3 & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest likability if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest likability if treatment>1 & agreement==1 & domain==0 & demcand==0, by(treatment)

ttest repswell if treatment<3 & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest repswell if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest repswell if treatment>1 & agreement==1 & domain==0 & demcand==0, by(treatment)

ttest openminded if treatment<3 & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest openminded if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest openminded if treatment>1 & agreement==1 & domain==0 & demcand==0, by(treatment)

ttest integrity if treatment<3 & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest integrity if (treatment==1 | treatment==3) & agreement==1 & domain==0 & demcand==0, by(treatment)
ttest integrity if treatment>1 & agreement==1 & domain==0 & demcand==0, by(treatment)

//Analyses in Table C3 of the Appendix//
reg likability (i.maintain i.flipflop)##i.domain if agreement==0 & hied==1
reg repswell (i.maintain i.flipflop)##i.domain if agreement==0 & hied==1
reg openminded (i.maintain i.flipflop)##i.domain if agreement==0 & hied==1
reg integrity (i.maintain i.flipflop)##i.domain if agreement==0 & hied==1

reg likability (i.maintain i.flipflop)##i.domain if agreement==0 & hied==0
reg repswell (i.maintain i.flipflop)##i.domain if agreement==0 & hied==0
reg openminded (i.maintain i.flipflop)##i.domain if agreement==0 & hied==0
reg integrity (i.maintain i.flipflop)##i.domain if agreement==0 & hied==0

//Analyses in Table C4 of the Appendix//
reg likability (i.maintain i.flipflop)##i.domain if agreement==1 & hied==1
reg repswell (i.maintain i.flipflop)##i.domain if agreement==1 & hied==1
reg openminded (i.maintain i.flipflop)##i.domain if agreement==1 & hied==1
reg integrity (i.maintain i.flipflop)##i.domain if agreement==1 & hied==1

reg likability (i.maintain i.flipflop)##i.domain if agreement==1 & hied==0
reg repswell (i.maintain i.flipflop)##i.domain if agreement==1 & hied==0
reg openminded (i.maintain i.flipflop)##i.domain if agreement==1 & hied==0
reg integrity (i.maintain i.flipflop)##i.domain if agreement==1 & hied==0
